﻿<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <AssemblyName>SemanticKernel.Functions.UnitTests</AssemblyName>
    <RootNamespace>SemanticKernel.Functions.UnitTests</RootNamespace>
    <TargetFramework>net8.0</TargetFramework>
    <IsTestProject>true</IsTestProject>
    <Nullable>enable</Nullable>
    <ImplicitUsings>disable</ImplicitUsings>
    <IsPackable>false</IsPackable>
    <NoWarn>$(NoWarn);CA2007,CA1861,CA1869,VSTHRD111,CS1591,SKEXP0040,SKEXP0001</NoWarn>
  </PropertyGroup>
  <Import Project="$(RepoRoot)/dotnet/src/InternalUtilities/test/TestInternalUtilities.props" />
  <ItemGroup>
    <None Remove="Grpc\protoV3.proto" />
    <None Remove="OpenApi\TestPlugins\ai-plugin.json" />
    <None Remove="OpenApi\TestPlugins\ai-plugin2.json" />
    <None Remove="OpenApi\TestPlugins\documentV3_1.yaml" />
    <None Remove="OpenApi\TestPlugins\nonCompliant_documentV3_0.json" />
    <None Remove="OpenApi\TestPlugins\OpenApi.json" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Grpc\Protobuf\TestPlugins\protoV3.proto" />
    <EmbeddedResource Include="OpenApi\TestPlugins\ai-plugin.json" />
    <EmbeddedResource Include="OpenApi\TestPlugins\ai-plugin2.json" />
    <EmbeddedResource Include="OpenApi\TestPlugins\documentV2_0.json" />
    <EmbeddedResource Include="OpenApi\TestPlugins\nonCompliant_documentV3_0.json" />
    <EmbeddedResource Include="OpenApi\TestPlugins\documentV3_1.yaml" />
    <EmbeddedResource Include="OpenApi\TestPlugins\documentV3_0.json" />
    <EmbeddedResource Include="OpenApi\TestPlugins\repair-service.json" />
    <EmbeddedResource Include="OpenApi\TestResponses\ObjectResponseSchema.json" />
    <EmbeddedResource Include="OpenApi\TestResponses\ProductResponseSchema.json" />
    <EmbeddedResource Include="OpenApi\TestResponses\ValidProductContent.json" />
    <EmbeddedResource Include="OpenApi\TestResponses\InvalidProductContent.json" />
    <EmbeddedResource Include="OpenApi\TestResponses\NotProductContent.json" />
    <EmbeddedResource Include="OpenApi\TestResponses\2XXFakeResponseSchema.json" />
    <EmbeddedResource Include="OpenApi\TestResponses\200FakeResponseSchema.json" />
    <EmbeddedResource Include="OpenApi\TestResponses\FakeResponseSchema.json" />
    <EmbeddedResource Include="OpenApi\TestResponses\DefaultResponseSchema.json" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.NET.Test.Sdk" />
    <PackageReference Include="Moq" />
    <PackageReference Include="xunit" />
    <PackageReference Include="xunit.runner.visualstudio">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>
    <PackageReference Include="coverlet.collector">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>
    <PackageReference Include="Microsoft.Extensions.Logging.Console" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\Connectors\Connectors.OpenAI\Connectors.OpenAI.csproj" />
    <ProjectReference Include="..\..\SemanticKernel.Core\SemanticKernel.Core.csproj" />
    <ProjectReference Include="..\Functions.Grpc\Functions.Grpc.csproj" />
    <ProjectReference Include="..\Functions.Markdown\Functions.Markdown.csproj" />
    <ProjectReference Include="..\Functions.OpenApi\Functions.OpenApi.csproj" />
    <ProjectReference Include="..\Functions.Yaml\Functions.Yaml.csproj" />
  </ItemGroup>
</Project>